const {createElement}=require('react')
const {render} =require('react-dom')

const oDiv=createElement('div',{
    className:'box'
},['123'])

render(oDiv,document.getElementById('root'),()=>{
    console.log('挂载成功');
})